<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <meta content="telephone=no,email=no" name="format-detection">
    <title>floor menu</title>
    <link href="./floor-menu.css" rel="stylesheet">
</head>
<body>

<div id="floor0" style="height: 200px;width:100%;background-color:salmon;">
    <h3 style="color:#666;">楼层0</h3>
</div>

<div id="floor" class="floor">
    <div class="floor-placeholder"></div>
    <div class="floor-inner">
        <div class="floor-tabs">
            <div class="floor-tabs-inner">
                <div class="tabs-scroll-list">
                    <a class="tabs-nav" href="#floor0">楼层楼层0</a>
                    <a class="tabs-nav" href="#floor1">楼层楼层1</a>
                    <a class="tabs-nav" href="#floor2">楼层楼层2</a>
                    <a class="tabs-nav" href="#floor3">楼层楼层3</a>
                    <a class="tabs-nav" href="#floor4">楼层楼层4</a>
                    <a class="tabs-nav" href="#floor5">楼层楼层5</a>
                    <a class="tabs-nav" href="#floor6">楼层楼层6</a>
                </div>
            </div>
            <img class="floor-icon-shadow"
                 src="">
            <div class="floor-icon-down">
                <svg viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
                    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                        <polygon fill="#A30F7C" fill-rule="nonzero" points="28 15.1144797 28.7045635 15.8241207 20.4099341 24.0594021 12 15.709641 12.7045635 15 20.4099341 22.6502388"></polygon>
                    </g>
                </svg>
            </div>
            <div class="floor-more" style="display: none;">
                <header><h3>全部楼层</h3><img class="floor-icon-shadow"
                                          src="">
                    <div class="floor-more-close">
                        <svg viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
                            <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                <polygon fill="#A30F7C" fill-rule="nonzero" points="28 15.1144797 28.7045635 15.8241207 20.4099341 24.0594021 12 15.709641 12.7045635 15 20.4099341 22.6502388"></polygon>
                            </g>
                        </svg>
                    </div>
                </header>
                <ul>
                    <li class="more-item"><a href="#floor0">楼层楼层0</a></li>
                    <li class="more-item"><a href="#floor1">楼层楼层1</a></li>
                    <li class="more-item"><a href="#floor2">楼层楼层2</a></li>
                    <li class="more-item"><a href="#floor3">楼层楼层3</a></li>
                    <li class="more-item"><a href="#floor4">楼层楼层4</a></li>
                    <li class="more-item"><a href="#floor5">楼层楼层5</a></li>
                    <li class="more-item"><a href="#floor6">楼层楼层6</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div id="floor1" style="height: 200px;width:100%;background-color:aqua;">
    <h3 style="color:#666;">楼层一</h3>
</div>

<div id="floor2" style="height: 400px;width:100%;background-color:blue;">
    <h3>楼层二</h3>
</div>

<div id="floor3" style="height: 500px;width:100%;background-color:green;">
    <h3>楼层三</h3>
</div>

<div id="floor4" style="height: 800px;width:100%;background-color:red;">
    <h3>楼层四</h3>
</div>

<div id="floor5" style="height: 700px;width:100%;background-color:gray;">
    <h3>楼层五</h3>
</div>

<div id="floor6" style="height: 900px;width:100%;background-color:springgreen;">
    <h3>楼层六</h3>
</div>

<script src="./lib/iscroll.js"></script>
<script src="./floor-menu.js"></script>
<script type="text/javascript">
    window.addEventListener('load', function(e) {
        new floorMenu('#floor');
    }, false);
</script>
</body>
</html>